package com.e3.basdoc.tax.client;

import com.e3.basdoc.tax.model.TaxModel;
import com.e3.template.tgf.GFRefDialog;
import com.e3.template.tgf.TGFGridPanel;
import com.e3.template.tgf.TGFQueryDialog;

public class TaxRefDialog extends GFRefDialog<TaxModel> {

	@Override
	protected String getRefDialogTitle() {
		return TaxMessages.INSTANCE.title_tax_refdialog();
	}

	@Override
	protected TGFGridPanel<TaxModel> createGridPanel() {
		return new TaxGridPanel();
	}

	@Override
	protected TGFQueryDialog<TaxModel> createQueryDialog() {
		return new TaxQueryDialog();
	}

	@Override
	protected String getCurrentLocalName() {
		return TaxMessages.INSTANCE.local_name();
	}

}
